package com.juanran.common.enums;

import com.juanran.common.enums.EnumBase;

public enum ErrorCode  implements EnumBase {

    LOGIN_NAME_EMPTY("login_message_empty","登录信息为空"),
    ;

    private final String code;

    private final String message;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    ErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
